package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportRegistrationSignin;
import cn.stylefeng.guns.modular.transport.model.params.TransportRegistrationSigninParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportRegistrationSigninResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 临时工签到 服务类
 * </p>
 *
 * @author 翟登巍
 * @since 2024-03-05
 */
public interface TransportRegistrationSigninService extends IService<TransportRegistrationSignin> {

    /**
     * 新增
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    void add(TransportRegistrationSigninParam param);

    /**
     * 删除
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    void delete(TransportRegistrationSigninParam param);

    /**
     * 更新
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    void update(TransportRegistrationSigninParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    TransportRegistrationSigninResult findBySpec(TransportRegistrationSigninParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    List<TransportRegistrationSigninResult> findListBySpec(TransportRegistrationSigninParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 翟登巍
     * @Date 2024-03-05
     */
    LayuiPageInfo findPageBySpec(TransportRegistrationSigninParam param,String condition);

    TransportRegistrationSigninResult find(TransportRegistrationSigninParam param);
}
